package com.tracy.life.utils;

import android.util.Log;

/**
 * Created by tracy on 2016/7/4.
 */
public class LoggUtils {
    public static String TAG = "tag";
    //为了提高安全性，如果上下不需要显示Log信息，直接改为false就可以
    public static boolean isDebug = true;

    public static void i(String msg){
        if(isDebug){
            Log.i(TAG,msg);
        }
    }

    public static void e(String msg){
        if(isDebug){
            Log.e(TAG,msg);
        }
    }
}
